package io.kiki.sba.registry.core.model;

import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

@Setter
@Getter
public class MultiSegmentData implements Serializable {
    private static final long serialVersionUID = 1L;

    private String segment;

    private byte[] zipData;

    private Map<String /*zone*/, List<Data>> unzipData = new HashMap<String, List<Data>>();

    private String encoding;

    private long version;

    private Map<String, Integer> dataCount = new HashMap<String, Integer>();

    public MultiSegmentData() {
    }

    public MultiSegmentData(String segment, long version) {
        this.segment = segment;
        this.version = version;
    }


}
